package com.example.picturestorage.aTest;

public class Customer {

    /**
     * 客户在窗口消耗的时间，单位为秒
     */
    private final int time = 30 + (int) (Math.random() * 1000);

    /*客户的行为，站队还是取号*/
    private BehaviorEnum behaviour;

    public Customer(BehaviorEnum behaviour) {
        this.behaviour=behaviour;
        if (behaviour.name().equals("排队")){
        }
    }


    public int getTime() {
        return time;
    }
}
